

package com.wwy.monitor.mapper.tddl;

import com.wwy.monitor.model.tddl.dto.MonitorConfigDTO;
import com.wwy.monitor.model.tddl.query.MonitorConfigQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author tianquan.ld
 * @version V1.0
 * <p>Description: çæ§éç½® mapper</p>
 * @date 2019-10-29 15:59
 */
@Repository
public interface MonitorConfigMapper {
    /**
     * æ¥è¯¢ææçæ§éç½®
     *
     * @param
     * @return
     */
    List<MonitorConfigDTO> selectAllConfig();

    /**
     * æ ¹æ®æ¡ä»¶æ¥è¯¢çæ§éç½®
     */
    List<MonitorConfigDTO> selectByQuery(MonitorConfigQuery monitorConfigQuery);

    int addMonitorConfig(MonitorConfigDTO dto);

    int deleteMonitorConfig(MonitorConfigDTO dto);

    int selectCountByQuery(MonitorConfigQuery query);
}